package app.beit.finportal.utils;

import java.util.Map;

public class MimeTypeUtils {
	
	private static Map<String,String> mimeTypes;
	
	public static Map<String, String> getMimeTypes() {
		return mimeTypes;
	}
	
	public static void setMimeTypes(Map<String, String> mimeTypes) {
		MimeTypeUtils.mimeTypes = mimeTypes;
	}

	public String getContentType(final String mimeType){
		String contentType = getMimeTypes().get(mimeType);
		return contentType;
	}
}
